package com.cppsu.cgx.libraryseatselection.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.annotation.Generated;

public class Library implements Serializable {
    private Long id;

    private String name;

    @ApiModelProperty(value = "图书馆楼层数")
    private Integer floors;

    @ApiModelProperty(value = "所属校区")
    private String campus;

    @ApiModelProperty(value = "图书存量")
    private String bookStock;

    @ApiModelProperty(value = "开馆时间")
    private Date openTime;

    @ApiModelProperty(value = "闭馆时间")
    private Date closeTime;

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private static final long serialVersionUID = 1L;

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Long getId() {
        return id;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setId(Long id) {
        this.id = id;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public String getName() {
        return name;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setName(String name) {
        this.name = name;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Integer getFloors() {
        return floors;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setFloors(Integer floors) {
        this.floors = floors;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public String getCampus() {
        return campus;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setCampus(String campus) {
        this.campus = campus;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public String getBookStock() {
        return bookStock;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setBookStock(String bookStock) {
        this.bookStock = bookStock;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Date getOpenTime() {
        return openTime;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setOpenTime(Date openTime) {
        this.openTime = openTime;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Date getCloseTime() {
        return closeTime;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setCloseTime(Date closeTime) {
        this.closeTime = closeTime;
    }

    @Override
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", floors=").append(floors);
        sb.append(", campus=").append(campus);
        sb.append(", bookStock=").append(bookStock);
        sb.append(", openTime=").append(openTime);
        sb.append(", closeTime=").append(closeTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}